<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    *{
        font-size: 30px;
    }
</style>
<body onclick="show()">
    <p>这是p标签</p>
    <span> 这是span标签</span>
    <h1>这是h1标签</h1>
    <div>这是div标签</div>
</body>
<script>
    function show(){
        var obj = event.srcElement; //事件源对象
        alert(obj.tagName);
    }

    var s1 = "abc"
    var s2 = new String(s1);
    s1.color = "蓝色"
    s2.color = "红色"

    console.log(s1==s2);
    console.log(s1.color,s2.color);

</script>
</html>